package com.yanqu.road.entity.log.cross.tongbing.peak;

import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.log.ServerBaseLog;

import java.util.List;

@FieldTypeAnnotation(tableName = "t_l_ck_peak_tongbing_log_team_move", desc = "巅峰统兵-队伍移动日志", autoSave = true, uploadCk = true, isCross = true)
public class LogTonBingTeamMove extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "活动ID", isIndex = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "玩家ID", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "队伍ID")
    private int occupation;
    @FieldTypeAnnotation(desc = "当前城池")
    private int cityId;
    @FieldTypeAnnotation(desc = "路径")
    private List<Integer> routeList;
    @FieldTypeAnnotation(desc = "匹配id")
    private int matchId;
    @FieldTypeAnnotation(desc = "轮次")
    private int turn;
    @FieldTypeAnnotation(desc = "战场类型")
    private int warType;

    public LogTonBingTeamMove(int activityId, long userId, int occupation, int cityId, List<Integer> routeList, int matchId, int turn, int warType) {
        this.activityId = activityId;
        this.userId = userId;
        this.occupation = occupation;
        this.cityId = cityId;
        this.routeList = routeList;
        this.matchId = matchId;
        this.turn = turn;
        this.warType = warType;
    }

    public long getUserId() {
        return userId;
    }

}
